package com.key.win.business.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.key.win.base.web.PageRequest;
import com.key.win.base.web.PageResult;
import com.key.win.business.chat.model.ImFriend;
import com.key.win.business.chat.vo.ImFriendFullVo;

import java.util.List;

public interface ImFriendService extends IService<ImFriend> {

    PageResult<ImFriendFullVo> findFriendByPaged(PageRequest<ImFriend> t);

    List<ImFriend> findFriend(ImFriend imFriend);

    boolean addFriend(ImFriend imFriend);

    boolean updateFriend(ImFriend imFriend);

    List<ImFriendFullVo> findFriendByUserId(String userId);

    boolean deleteFriend(String id);
}
